package com.hbt.en_rem_hou.service;

import com.hbt.en_rem_hou.entitys.Word;
import com.hbt.en_rem_hou.entitys.WordsCondition;

import java.util.List;

public interface WordService {
    public int deleteWordByWordId(int wordid);

    public int updateCmd(Word word);

    public int updateImp(Word word);

    public int changeFanyiByWordId(Word word);

    public boolean addWord(Word word);

    public boolean hasThisWord(Word word);

    public List<Word> getWordByCondition(WordsCondition wordsCondition);

    public Word getWordByWordID(int wordid);
}
